package controller

import (
	"github.com/gin-gonic/gin"
	"net/http"
)
func main()  {
	
}
func IndexHandler(context *gin.Context) {
	context.HTML(http.StatusOK,"index.html",nil)
}

func Hello(context *gin.Context){
	context.JSON(http.StatusOK,gin.H{
			"code":200,
			"msg":"success",
			"data":"helloworld",
		})
}